const proxy = require('http-proxy');
const http = require('http');
const proxyServer = proxy.createProxy()

const server = http.createServer((req, res) => {
  proxyServer.web(req, res, {
    target: 'http://localhost:9000'
  })
}).listen(8000);
